sgdk: VDPSprite Struct Reference

sgdk

- Main Page
- Related Pages
- Classes
- Files

- Class List

Public Attributes
VDPSprite Struct Reference

`#include <sprite_eng.h>`

List of all members.

## Public Attributes

s16 | y
u16 | size_link
u16 | attr
s16 | x

## Detailed Description

VDP sprite definition structure replicating VDP hardware sprite.

Parameters:

  y | Y position - 0x80 (0x80 = 0)
  size_link | sprite size (see SPRITE_SIZE macro) in high byte and link in low byte
  attr | tile index and sprite attribut (priority, palette, H/V flip), see TILE_ATTR_FULL macro
  x | X position - 0x80 (0x80 = 0)

The documentation for this struct was generated from the following file:

- sprite_eng.h

All Classes Files Functions Variables Typedefs Enumerations Defines